package com.ruoyi.material.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收料单信息对象 receipt_material_info
 * 
 * @author ruoyi
 * @date 2022-08-25
 */
public class ReceiptMaterialInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 收料单号 */
    @Excel(name = "收料单号")
    private String receiptMaterialNo;

    /** 收料主题 */
    private String supplierTheme;

    /** 物品摘要 */
    private String summary;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓库区域 */
    @Excel(name = "仓库区域")
    private String warehouseArea;

    /** 收料人员 */
    @Excel(name = "收料人员")
    private String materialPerson;

    /** 收料时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收料时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date materialTime;

    /** 供应商编号 */
    private String supplierNo;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 运输单位 */
    private String transportUnit;

    /** 车牌号 */
    private String carNumber;

    /** 运费（元） */
    private String freight;

    /** 状态（0未入库，1已入库） */
    @Excel(name = "状态", readConverterExp = "0=未入库，1已入库")
    private String status;

    /** 备注 */
    private String comment;

    /** 物料信息信息 */
    private List<MaterialInfo> materialInfoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReceiptMaterialNo(String receiptMaterialNo) 
    {
        this.receiptMaterialNo = receiptMaterialNo;
    }

    public String getReceiptMaterialNo() 
    {
        return receiptMaterialNo;
    }
    public void setSupplierTheme(String supplierTheme) 
    {
        this.supplierTheme = supplierTheme;
    }

    public String getSupplierTheme() 
    {
        return supplierTheme;
    }
    public void setSummary(String summary) 
    {
        this.summary = summary;
    }

    public String getSummary() 
    {
        return summary;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setWarehouseArea(String warehouseArea) 
    {
        this.warehouseArea = warehouseArea;
    }

    public String getWarehouseArea() 
    {
        return warehouseArea;
    }
    public void setMaterialPerson(String materialPerson) 
    {
        this.materialPerson = materialPerson;
    }

    public String getMaterialPerson() 
    {
        return materialPerson;
    }
    public void setMaterialTime(Date materialTime) 
    {
        this.materialTime = materialTime;
    }

    public Date getMaterialTime() 
    {
        return materialTime;
    }
    public void setSupplierNo(String supplierNo) 
    {
        this.supplierNo = supplierNo;
    }

    public String getSupplierNo() 
    {
        return supplierNo;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setTransportUnit(String transportUnit) 
    {
        this.transportUnit = transportUnit;
    }

    public String getTransportUnit() 
    {
        return transportUnit;
    }
    public void setCarNumber(String carNumber) 
    {
        this.carNumber = carNumber;
    }

    public String getCarNumber() 
    {
        return carNumber;
    }
    public void setFreight(String freight) 
    {
        this.freight = freight;
    }

    public String getFreight() 
    {
        return freight;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    public List<MaterialInfo> getMaterialInfoList()
    {
        return materialInfoList;
    }

    public void setMaterialInfoList(List<MaterialInfo> materialInfoList)
    {
        this.materialInfoList = materialInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("receiptMaterialNo", getReceiptMaterialNo())
            .append("supplierTheme", getSupplierTheme())
            .append("summary", getSummary())
            .append("warehouseName", getWarehouseName())
            .append("warehouseArea", getWarehouseArea())
            .append("materialPerson", getMaterialPerson())
            .append("materialTime", getMaterialTime())
            .append("supplierNo", getSupplierNo())
            .append("supplierName", getSupplierName())
            .append("transportUnit", getTransportUnit())
            .append("carNumber", getCarNumber())
            .append("freight", getFreight())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("status", getStatus())
            .append("comment", getComment())
            .append("materialInfoList", getMaterialInfoList())
            .toString();
    }
}
